<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<%@page import="cn.pzhuweb.pojo.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>汽车信息</title>
</head>
<body style="text-align: center">
<jsp:include page="head.jsp"/>
<h1>汽车信息</h1>
<c:if test="${empty list}">
	<h2>没有此人</h2>
</c:if>
<c:if test="${not empty list}">
	<table class="tb" border="1" cellspacing="0" cellpadding="0">
		<tr>
			<th>序号</th>
			<th>id</th>
			<th>名字</th>
			<th>类型</th>
			<th>价格</th>
		</tr>
		<c:forEach items="${list}" var="car" varStatus="x">
			<tr>
				<td>${x.count}</td>
				<td>${car.car_id}</td>
				<td>${car.car_name}</td>
				<td>${car.car_type}</td>
				<td>${car.car_price}</td>
			</tr>
		</c:forEach>
	</table>
</c:if>
<a href="index.jsp">返回主页继续登记</a>
</body>
</html>